package com.example.homelicaisystem.dao;

import com.example.homelicaisystem.entity.Family;
import com.example.homelicaisystem.entity.User;
import com.example.homelicaisystem.entity.VO.FamilyVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FamilyMapper {

    Integer getFamilyIdByUserId(Integer userId);

    List<User> getList(int familyId);

    void createFamily(User data);
}
